package cn.cs.service;


import cn.cs.common.Page;
import cn.cs.pojo.AgentType;

import java.util.List;
import java.util.Map;

public interface AgentTypeService {

    public AgentType getAgentTypeById(String id) throws Exception;

    public List<AgentType> getAgentTypeListByMap(Map<String, Object> param) throws Exception;

    public Integer getAgentTypeCountByMap(Map<String, Object> param) throws Exception;

    public Integer addAgentType(AgentType agentType) throws Exception;

    public Integer modifyAgentType(AgentType agentType) throws Exception;

    public Integer deleteAgentTypeById(String id) throws Exception;

    public Page<AgentType> queryAgentTypePageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;
}
